package net.lab1024.smartadmin.module.weapp.users.domain.vo;

import lombok.Data;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import net.lab1024.smartadmin.module.system.employee.domain.dto.EmployeeDTO;

/**
 *  [ 微信小程序 用户信息表 ]
 *
 * @author wuqian
 * @version 1.0
 * @company 五千
 * @copyright (c) 五千Inc. All rights reserved.
 * @date  2021-03-09 14:13:28
 * @since JDK1.8
 */
@Data
public class UsersVO {

    @ApiModelProperty("员工信息")
    private EmployeeDTO employeeObj;

    @ApiModelProperty("主键")
    private Long wid;

    @ApiModelProperty("关联后台登入账号")
    private Long uid;

    @ApiModelProperty("openid")
    private String openid;

    @ApiModelProperty("nick_name")
    private String nickName;

    @ApiModelProperty("avatar_url")
    private String avatarUrl;

    @ApiModelProperty("gender")
    private String gender;

    @ApiModelProperty("city")
    private String city;

    @ApiModelProperty("province")
    private String province;

    @ApiModelProperty("country")
    private String country;

    @ApiModelProperty("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("提交工单数量")
    private Integer orderCount=0;

}
